package com.xiao.runner;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;


@Component
public class ArticleRunner implements CommandLineRunner {

    @Autowired
    com.xiao.uitl.es.ESUtil esUtil;

    @Override
    public void run(String... args) throws Exception {
        System.out.println("es-init: "+esUtil.init());
    }
}
